<template>
	<div>
		<div id="top">
			缺陷反馈
		</div>
		<div class="one">	
			<div>项目名称：</div>
		</div>
		<div class="one">
			<div>缺陷名称：</div>
		</div>
		<div class="one">
			<div>缺陷分类：</div>
		</div>
		<div class="one">
			<div>状态：</div>
		</div>
		<div class="one">
			<div>严重程度：</div>
		</div>
		<div class="one">
			<div>优先级：</div>
		</div>
		<div class="one">
			<div>预期工时：</div>
		</div>
		<div class="one">
			指派给:
		</div>
		<div class="one">
			<div>计划开始时间：</div>
		</div>
		<div class="one">
			<div>计划完成时间：</div>
		</div>
		<div class="one">
			<div>缺陷描述：</div>
		</div>
		<div class="one">
			<div>缺陷要求：</div>
		</div>
		<div class="one">
			<input type="button" value="保存" @click="insertDealTime()"/>
		</div>
	</div>
		
</template>

<script>
	import $ from "jquery"
	export default {
		data:function(){
			return{
				id:"",
				feedbackBug:{
					projectName:"",
					bugClassify:"",
					bugName:"",
					dostate:"",
					degree:"",
					bug_priority:"",
					ptime:"",
					createbyName:"",
					pstartetime:"",
					pendtime:"",
					bugDetail:"",
				}
			}
		},
		methods:{
			queryBug:function(){
				var thii = this
				$.ajax({
					url:"http://localhost/bugDistribution/queryBug",
					data:{"id":1},
					type:"GET",
					headers:{"token":localStorage.getItem("token")},
					success:function(data){
						console.log(data.obj)
					}
				})
			}
		},
		created:function(){
			this.queryBug();
		}
	}
</script>

<style>
	#top{
		height: 30px;
		width: 40%;
		float: left;
		margin-left: 30%;
		background-color: #bebebe;
		text-align: center;
		line-height: 30px;
	}
	.one{
		height: 50px;
		width: 40%;
		float: left;
		margin-left: 30%;
		background-color: #e1e1e1;
		text-align: center;
		line-height: 50px;
	}
</style>
